package cz.boxdesign.library.web.view;

import java.util.List;

import cz.boxdesign.library.entity.Author;
import cz.boxdesign.library.entity.Publisher;
import cz.boxdesign.library.entity.Department;

public class BookView {

  private Integer id;
  private String nazev;
  private Integer nakladatelstviId;
  private Publisher publisher;
  private Integer oddeleniId;
  private Department oddeleni;
  private String rokVydani;
  private Integer pocetKnih;
  private List<Integer> autorIds;
  private List<Author> autorList;
  private List<Department> oddeleniList;
  private List<Publisher> nakladatelstviList;


  /**
   * @return the nazev
   */
  public String getNazev() {
    return nazev;
  }

  /**
   * @return the nakladatelstviId
   */
  public Integer getNakladatelstviId() {
    return nakladatelstviId;
  }

  /**
   * @return the publisher
   */
  public Publisher getNakladatelstvi() {
    return publisher;
  }

  /**
   * @return the oddeleniId
   */
  public Integer getOddeleniId() {
    return oddeleniId;
  }

  /**
   * @return the oddeleni
   */
  public Department getOddeleni() {
    return oddeleni;
  }

  /**
   * @return the rokVydani
   */
  public String getRokVydani() {
    return rokVydani;
  }

  /**
   * @return the pocetKnih
   */
  public Integer getPocetKnih() {
    return pocetKnih;
  }

  /**
   * @return the autorIds
   */
  public List<Integer> getAutorIds() {
    return autorIds;
  }

  /**
   * @return the autorList
   */
  public List<Author> getAutorList() {
    return autorList;
  }

  /**
   * @return the nakladatelstviList
   */
  public List<Publisher> getNakladatelstviList() {
    return nakladatelstviList;
  }

  /**
   * @param nazev
   *          the nazev to set
   */
  public void setNazev(String nazev) {
    this.nazev = nazev;
  }

  /**
   * @param nakladatelstviId
   *          the nakladatelstviId to set
   */
  public void setNakladatelstviId(Integer nakladatelstviId) {
    this.nakladatelstviId = nakladatelstviId;
  }

  /**
   * @param publisher
   *          the publisher to set
   */
  public void setNakladatelstvi(Publisher publisher) {
    this.publisher = publisher;
  }

  /**
   * @param oddeleniId
   *          the oddeleniId to set
   */
  public void setOddeleniId(Integer oddeleniId) {
    this.oddeleniId = oddeleniId;
  }

  /**
   * @param oddeleni
   *          the oddeleni to set
   */
  public void setOddeleni(Department oddeleni) {
    this.oddeleni = oddeleni;
  }

  /**
   * @param rokVydani
   *          the rokVydani to set
   */
  public void setRokVydani(String rokVydani) {
    this.rokVydani = rokVydani;
  }

  /**
   * @param pocetKnih
   *          the pocetKnih to set
   */
  public void setPocetKnih(Integer pocetKnih) {
    this.pocetKnih = pocetKnih;
  }

  /**
   * @param autorIds
   *          the autorIds to set
   */
  public void setAutorIds(List<Integer> autorIds) {
    this.autorIds = autorIds;
  }

  /**
   * @param autorList
   *          the autorList to set
   */
  public void setAutorList(List<Author> autorList) {
    this.autorList = autorList;
  }

  /**
   * @param nakladatelstviList
   *          the nakladatelstviList to set
   */
  public void setNakladatelstviList(List<Publisher> nakladatelstviList) {
    this.nakladatelstviList = nakladatelstviList;
  }

  /**
   * @return the id
   */
  public Integer getId() {
    return id;
  }

  /**
   * @param id
   *          the id to set
   */
  public void setId(Integer id) {
    this.id = id;
  }

  /**
   * @return the oddeleniList
   */
  public List<Department> getOddeleniList() {
    return oddeleniList;
  }

  /**
   * @param oddeleniList
   *          the oddeleniList to set
   */
  public void setOddeleniList(List<Department> oddeleniList) {
    this.oddeleniList = oddeleniList;
  }

}
